home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / DOCZ16.ZIP;1 / INSTALL.DAT < prev    next >
Encoding:
INSTALL Professional project  |  1994-04-23  |  10.4 KB  |  442 lines

  1. @DefineProject
  2.     @Name         = "DOCZ"
  3.     @Version    = "1.6"
  4.     @OutDrive     = Z
  5.     @Group         = "A"
  6.         @Subdir         = "\\"
  7. @EndProject
  8.  
  9. @DefineVars
  10.     @Drive        @WINdrive    = C
  11.     @Dir        @BINdir        = "\\BIN\\"    /* directory type */
  12.     @Dir        @REFdir        = "\\DOCREF\\"
  13.     @Dir        @SRCdir        = "\\DOCSRC\\"
  14.     @Dir        @WINdir        = "\\WINDOWS\\"
  15. @EndVars
  16.  
  17. @Display
  18. @Cls                       DDDDD     OOO     CCCC  ZZZZZZZ 
  19.                         DD DD   OO OO   CC  CC      ZZ 
  20.                         DD  DD OO   OO CC          ZZ  
  21.                         DD  DD OO   OO CC         ZZ   
  22.                         DD  DD OO   OO CC        ZZ    
  23.                         DD DD   OO OO   CC  CC  ZZ     
  24.                        DDDDD     OOO     CCCC  ZZZZZZZ TM
  25.                                  Shareware
  26.                           I N S T A L L A T I O N
  27.  
  28.                                 
  29.     This program will install @Name Version @Version on your computer
  30.     system and verify the integrity of the distribution media.
  31.     You may press the [Esc] key at any time to abort the installation.
  32.     The @Name INSTALL will ask you several questions about the 
  33.     directories you wish to use to install @Name to.
  34.  
  35.     In pull-down menus displayed in this program, the blinking menu
  36.     choice is the current choice (the choice selected with the 
  37.     [RETURN] key).
  38.  
  39. @Pause
  40. @Cls
  41.     DOCZ is Copyright 1990, Software Toolz, Inc, Ball Ground, Georgia.
  42.     All Rights Reserved Worldwide.
  43.  
  44.     DOCZ is a trademark of Software Toolz, Inc.
  45.  
  46.     The INSTALL program itself is Copyright (c) 1987-1990 
  47.     Knowledge Dynamics Corp,Canyon Lake, TX 78133-3508 (USA) 
  48.     All Rights Reserved Worldwide
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57. @Pause
  58. @EndDisplay
  59.  
  60. @GetOutDrive
  61.     @Suppress A    /* don't display A: */
  62.     @Suppress B    /* or B:             */
  63.     @Cls
  64.     On which disk drive do you wish to install @Name:
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.     The drive on which DOCZ is installed will need about 1.3M
  80.     free space.
  81.  
  82.     Use the [Up Arrow], [Down Arrow], [Pg Up], & [Pg Dn] keys to move 
  83.     the bar to the disk drive you wish to install to and then press 
  84.     the [Enter] key.  The blinking menu bar is the current selection.
  85. @EndOutDrive
  86.  
  87. @Display
  88. @Cls    Your system configuration:
  89.  
  90.                       DOS Version: @OSMajor.@OSMinor
  91.      Conventional DOS memory free: @RAMAvail
  92.                       Input drive: @InDrive
  93.                      Output drive: @OutDrive
  94.              You are running on an 80@CPU CPU
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108. @Pause
  109. @EndDisplay
  110.  
  111. @GetSubdir @BINdir
  112.     @Cls
  113.  
  114.     Now you need to specify the destination subdirectory for programs.
  115.     This subdirectory is the location on your disk where the @Name 
  116.     programs will be installed and should be a directory that is
  117.     included in your search path.
  118.  
  119.     @Prompt = " Which subdirectory ([Enter] = @BINdir\\)? "
  120. @EndSubdir
  121.  
  122. @GetSubdir @REFdir
  123.     @Cls
  124.  
  125.     Now you need to specify the reference subdirectory (DOCREF).  
  126.     This subdirectory is the location on your disk where the 
  127.     @Name system reference files will be installed.
  128.  
  129.     @Prompt = " Which subdirectory ([Enter] = @REFdir\\)? "
  130. @EndSubdir
  131.  
  132. @GetSubdir @SRCdir
  133.     @Cls
  134.  
  135.     Now you need to specify the Default Source Directory (DOCSRC).  
  136.     It is the root directory for sub-directories that will contain your 
  137.     source code.  This sub-directory will be created, and the examples 
  138.     provided with the system will be placed in this subdirectory.
  139.  
  140.     @Prompt = " Which subdirectory ([Enter] = @SRCdir\\)? "
  141. @EndSubdir
  142.  
  143. @If (@Exists "@OutDrive:@REFdir\\docz.cfg")
  144.     @GetOption
  145.     @OutDrive:@REFdir\\DOCZ.CFG already exists.
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.     It is assumed that this installation session is a 
  160.     re-installation or upgrade of @Name, and the DOCZ 
  161.     Configuration File may have been personalized for an 
  162.     earlier installation of DOCZ.
  163.  
  164.     Do you wish to write over the prior version?
  165.     @Option 3 = "YES"
  166.     @Option 4 = "NO"
  167.     @EndOption
  168. @Else
  169.     @If (@DiskFree @OutDrive < 1300000)
  170.         @Display
  171.         @Cls
  172.  
  173.         The Selected output drive only has @DiskFree @OutDrive 
  174.         bytes available.  @Name @Version requires approximately
  175.         1300000 bytes to install.
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.         The installation will now be aborted to
  187.         avoid filling-up drive @OutDrive.
  188.  
  189.         @Abort
  190.         @EndDisplay
  191.     @Endif
  192. @Endif
  193.  
  194. @If (@RAMAvail > 550k)
  195. @GetOption
  196.     @Cls
  197.     Do you wish to build the sample DOCZ library?
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.     @Name provides a sample C function documentation library that can 
  212.     be built automatically on your system using the directories you 
  213.     have specified for DOCSRC and DOCREF.
  214.  
  215.     @Option 1 = "YES"
  216.     @Option 2 = "NO"
  217. @EndOption
  218. @EndIf
  219.  
  220. @GetOption
  221.     @Cls
  222.     Would you like the C Standard Library on-line help installed?
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.     @Name includes an on-line help library for the C language
  237.     Standard Library.  This help library can be combined with
  238.     the on-line help library for DOCZ, and with your own on-line
  239.     help libraries.
  240.  
  241.     @Option 7 = "YES"
  242.     @Option 8 = "NO"
  243. @EndOption
  244.  
  245. @GetOption
  246.     @Cls
  247.     Would you like to run the DOCZ tutorial at the 
  248.     end of the installation?
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.     @Name includes an on-line tutorial that will navigate you
  263.     through the steps to building a DOCZ documentation library.
  264.  
  265.     @Option 9 = "YES"
  266.     @Option 10 = "NO"
  267. @EndOption
  268.  
  269. @GetOption
  270.     @Cls
  271.     Would you like to run the DOCZ PIF files installed
  272.     in your Windows directory?
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.     @Name PIF files are included if you wish to run the 
  287.     DOCZ programs under MS-Windows.
  288.  
  289.     @Option 11 = "YES"
  290.     @Option 12 = "NO"
  291. @EndOption
  292.  
  293.     @If(11 [= @Option)    /* install the Windows PIF files */
  294. @GetOutDrive @WINdrive
  295.     Please specify the Drive containing your Windows
  296.     installation.
  297. @EndOutDrive
  298. @GetSubdir @WINdir
  299.     Please specify your Windows directory for the installation
  300.     of the @Name PIF files.
  301.     @Prompt = " Which subdirectory ([Enter] = @WINdir\\)? "
  302. @EndSubdir
  303.     @EndIf            /* Windows PIFs */
  304.  
  305. @SetAutoexec
  306.     @AskOverwrite
  307.     @SetReplace("DOCSRC","@OutDrive:@SRCdir")
  308.     @SetReplace("DOCREF","@OutDrive:@REFdir")
  309. @EndAutoexec
  310.  
  311. @SetConfig
  312.     @AskOverwrite
  313.         @Files = 30
  314. @EndConfig
  315.  
  316. @DefineDisk
  317.     @Label = "DOCZ Distribution Media"
  318.  
  319.     @BeginLib DOCZ
  320.         @File *.exe        @Out @BINdir\*.*
  321.         @File pcode.dat        @Out @REFdir\*.*
  322.         @File docman.dat    @Out @REFdir\*.*
  323.         @File doclearn.dat    @Out @REFdir\*.*
  324.         @File revlist.dat    @Out @REFdir\*.*
  325.     @If(4 [! @Option)
  326.         @File docz.cfg        @Out @REFdir\*.*
  327.     @Endif
  328.         @File dochelp.m        @Out @SRCdir\*.*
  329.         @File dochead.cb    @Out @SRCdir\*.*
  330.         @File fake.bas        @Out @SRCdir\*.*
  331.         @File move.bat        @Out @SRCdir\*.*
  332.         @File cmdline.pas    @Out @SRCdir\*.*
  333.         @File strmcpy.asm    @Out @SRCdir\*.*
  334.         @File strmcpy.mar    @Out @SRCdir\*.*
  335.         @File strmcpy.c        @Out @SRCdir\*.*
  336.         @File mailfile.com    @Out @SRCdir\*.*
  337.         @File cp_r.sh        @Out @SRCdir\*.*
  338.         @File upcase.for    @Out @SRCdir\*.*
  339.         @File dochelp.txt    @Out @SRCdir\*.*
  340.         @File macro.h        @Out @SRCdir\*.*
  341.         @File docrevs.com    @Out @SRCdir\*.*
  342.         @File docrevs.sh    @Out @SRCdir\*.*
  343.         @File docstash        @Out @SRCdir\*.*
  344.         @File docstash.com    @Out @SRCdir\*.*
  345.         @File docz16.doc    @Out @SRCdir\*.*
  346.         @File readme.1st    @Out @SRCdir\*.*
  347.         @File dochead.txt    @Out @SRCdir\*.*
  348.         @File c.txt        @Out @SRCdir\*.*
  349.         @File gtsa.prg      @Out @SRCdir\*.*
  350.         @File haspriv.c      @Out @SRCdir\*.*
  351.         @File insert.mar      @Out @SRCdir\*.*
  352.         @File delstr.asm      @Out @SRCdir\*.*
  353.         @File zero.c          @Out @SRCdir\*.*
  354.         @File juldate.c      @Out @SRCdir\*.*
  355.         @File macros.h      @Out @SRCdir\*.*
  356.         @File bldocz.bat      @Out @SRCdir\*.*
  357.         @File getstart.doc      @Out @SRCdir\*.*
  358.         @File update.doc      @Out @SRCdir\*.*
  359.         @File frank.prl      @Out @SRCdir\*.*
  360.     @If(11 [= @Option)
  361.         @File *.pif        @Out @WINdrive:@WINdir\*.*
  362.     @Endif
  363.     @EndLib
  364. @EndDisk
  365.  
  366. @Finish
  367.     @Cls
  368.     @ChDrive @OutDrive
  369.     @ChDir "@BINdir"
  370.     Creating the on-line help library for DOCZ 
  371.     using the DOCHBLD program...
  372.     @If(7 [= @Option)
  373. @System "dochbld /ai=@OutDrive:@SRCdir\\dochelp.txt,@OutDrive:@SRCdir\\c.txt /z=docref=@OutDrive:@REFdir"
  374.     @Else
  375. @System "dochbld /ai=@OutDrive:@SRCdir\\dochelp.txt /z=docref=@OutDrive:@REFdir"
  376.     @EndIf
  377. @System "echo REM DOCZ Symbols>@OutDrive:@BINdir\\docz_sym.bat"
  378. @System "echo SET DOCSRC=@OutDrive:@SRCdir>>@OutDrive:@BINdir\\docz_sym.bat"
  379. @System "echo SET DOCREF=@OutDrive:@REFdir>>@OutDrive:@BINdir\\docz_sym.bat"
  380.  
  381.     @If(1 [= @Option)
  382.     Creating the sample C function library...
  383. @System "mkdir @OutDrive:@SRCdir\\csub"
  384. @System "COPY @OutDrive:@SRCdir\\HASPRIV.C @OutDrive:@SRCdir\\csub"
  385. @System "del @OutDrive:@SRCdir\\HASPRIV.C"
  386. @System "COPY @OutDrive:@SRCdir\\INSERT.MAR @OutDrive:@SRCdir\\csub"
  387. @System "del @OutDrive:@SRCdir\\INSERT.MAR"
  388. @System "COPY @OutDrive:@SRCdir\\DELSTR.ASM @OutDrive:@SRCdir\\csub"
  389. @System "del @OutDrive:@SRCdir\\DELSTR.ASM"
  390. @System "COPY @OutDrive:@SRCdir\\ZERO.C @OutDrive:@SRCdir\\csub"
  391. @System "del @OutDrive:@SRCdir\\ZERO.C"
  392. @System "COPY @OutDrive:@SRCdir\\JULDATE.C @OutDrive:@SRCdir\\csub"
  393. @System "del @OutDrive:@SRCdir\\JULDATE.C"
  394. @System "COPY @OutDrive:@SRCdir\\macros.h @OutDrive:@SRCdir\\csub"
  395. @System "del @OutDrive:@SRCdir\\macros.h"
  396. @System "doclis @OutDrive:@SRCdir\\csub\\*.* /z=docref=@OutDrive:@REFdir /c"
  397. @System "dochbld /ao=csub.txt /z=docref=@OutDrive:@REFdir /z=docsrc=@OutDrive:@SRCdir"
  398.     @If(7 [= @Option)
  399. @System "dochbld /ai=csub.txt,@OutDrive:@SRCdir\\dochelp.txt,@OutDrive:@SRCdir\\c.txt /z=docref=@OutDrive:@REFdir"
  400.     @Else
  401. @System "dochbld /ai=csub.txt,@OutDrive:@SRCdir\\dochelp.txt /z=docref=@OutDrive:@REFdir"
  402.     @EndIf
  403. @System "del csub.txt"
  404. @System "doc csub /z=docref=@OutDrive:@REFdir /z=docsrc=@OutDrive:@SRCdir"
  405. @System "copy csub.doc @OutDrive:@SRCdir"
  406. @System "del csub.doc"
  407.     @EndIf
  408.     @If(9 [= @Option)
  409.     Running the DOCZ on-line tutorial...
  410.  
  411. @System "doclearn /z=docref=@OutDrive:@REFdir"
  412.     @Pause
  413.     @Endif
  414.  
  415. @Cls
  416. The @Name installation has completed ...
  417.  
  418. To use the DOCZ System, the DOCSRC and DOCREF environment variables
  419. must be defined.  This installation program has added the necessary
  420. statements to your AUTOEXEC.BAT file to define DOCSRC and DOCREF. The
  421. next time your computer is started, the requisite variables will be
  422. defined.  The symbols can also be defined by running DOCZ_SYM.BAT
  423. which will be in the current directory when this installation
  424. procedure is exited.
  425.  
  426. The DOCLEARN program is an interactive on-line tutorial for DOCZ.
  427. DOCLEARN will help you to become familiar with the capabilities
  428. of DOCZ quickly.
  429.  
  430. The DOCMAN program is the interactive on-line User Manual for DOCZ.
  431.  
  432. Please read the @Name @Version registration requirements in:
  433. @SRCdir\README.1ST.
  434.  
  435. Enjoy using DOCZ!  Your comments will be appreciated.
  436.  
  437. @Pause
  438. @EndFinish
  439.  
  440. /* end-of-file */
  441.  
  442.